@extends('home.layout.base')
@section('title', '问题反馈')
@section('pluginstyle')
<link rel="stylesheet" href="{{ asset('/dist/home/css/base.min.css') }}" /> 
<link rel="stylesheet" type="text/css" href="{{ asset('/dist/home/css/feedback.min.css') }}" /> 
<script>var _isindex = 0;</script> 
@endsection
@section('content')
<div class="page-main"> 
    <div class="container feedback-box"> 
        <div class="row"> 
            <div class="span15"> 
                <div class="feedback-main"> 
                    <ul class="feedback-nav  clearfix J_tabSwitch"> 
                        <li>问题反馈</li> 
                    </ul> 
                    <div class="tab-container"> 
                        <div class="tab-content clearfix"> 
                            <div class="user-info"> 
                            </div> 
                            <div class="form-box"> 
                                <h2 class="title">对您给予的帮助和支持，深表感谢！</h2> 
                                <form action="{{url("/home/feedback/add")}}" method="post">
                                    <input type="hidden" name="_token" value="{{csrf_token()}}">
                                <div class="form-section"> 
                                    <div class="xm-select"> 
                                        <div class="dropdown"> 
                                            <input class="input-text" tyep="text" name="fb_title" value="" placeholder="请输入问题标题" />
                                        </div> 
                                    </div> 
                                </div> 
                                <div class="form-section"> 
                                    <label class="input-label" for="feedbackQuestion">在这里描述您遇到的问题</label> 
                                    <textarea class="input-text input-textarea" id="feedbackQuestion" name="fb_content" placeholder="问题描述须大于10小于200个字"></textarea> 
                                </div>                               
                                <input type="submit" class="btn btn-primary"  value="提交问题" />
                                </form>
                            </div> 
                        </div> 
                    </div> 
                </div> 
            </div> 
            <div class="span5"> 
                <div class="feedback-list"> 
                    <h3 class="title">常见问题</h3> 
                    <ul class="list">
                        @foreach($feedback as $f)
                        <li> 
                            <dl> 
                                <dt>{{ $f->fb_title }}</dt> 
                                <dd>{{ $f->re_content }}</dd> 
                            </dl> 
                        </li> 
                        @endforeach
                    </ul> 
                </div> 
            </div> 
        </div> 
    </div> 
</div> 
@endsection
@section('pluginscript')
<script src="{{ asset('/dist/home/js/base.min.js') }}"></script> 
<script type="text/javascript" src="{{ asset('/dist/home/js/feedback.min.js') }}"></script> 
<script src="{{ asset('/dist/home/js/xmsg_ti.js') }}"></script> 
@endsection